<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 12-6-11
  Time: 上午8:44
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
    String userExploerType = request.getHeader("user-agent");
    if(userExploerType.toLowerCase().indexOf("moblie") != -1) {

    }else {
        response.sendRedirect("login.do");
    }
%>
<html>
  <head><title>Simple jsp page</title></head>
  <body>Place your content here</body>
</html>